Skip to content

tebako #632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

tebako #632

wants to merge 4 commits into from

Conversation

elee1766
Copy link

@elee1766 elee1766 commented Jun 8, 2025

hi @DannyBen

im finally following up on this:
#541

i thought about this again and tried it out once more, and it seems to be somewhat working?

i dont really mean for this to be merged in, its not that well organized or written, but i put these two dockerfiles that seem to compile functional bashly binaries. i also copied one of these binaries to my computer and it seems to run as well. haven't tested it that much more but i thought i would put this here so you/others could see it and maybe try it out

(i also pushed the glibc x86 build by accident but i guess ill.. leave it there)

is there a way to use this compiled binary and test it with the existing rspec tests?

@DannyBen
Copy link
Member

DannyBen commented Jun 8, 2025

Nice. My thoughts:

  1. The binary itself is - as expected - big, but still smaller than I expected.
  2. Testing this executable using existing tests is partially possible - there are "example specs" that test how bashly executable behaves (contrary to the Ruby unit tests) - but still, it would require some tweaking.
  3. I for one am not interested in maintaining a packaging solution, unless it is dead simple and cross platform. The maintainer of such a binary packaging solution would have to be able to build it for different platforms, and test it, and support it.
  4. If this tebako route would mature, I would consider having it as a separate repository that uses GitHub Actions to build it.

For completeness - could you specify what are the steps/commands needed to build the binary?

@elee1766
Copy link
Author

elee1766 commented Jun 9, 2025

1 - yeah at 34m its actually much smaller than i thought it would be
2 - good to know.
3/4 - yeah, I think it would be easy to setup a ci that clones from your repo and builds binaries accordingly to it

steps for compilation -

  1. clone the repo
  2. setup tebako locally / download/use the docker image
  3. run tebako press -D --entry-point=bashly --root /wd -R 3.4.1 (assume source code at /wd)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants